home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
tcp_ip
/
gracil
/
twindv21
/
twindvr.doc
< prev
next >
Wrap
Text File
|
1992-08-21
|
4KB
|
80 lines
********************************************************************************
1. Add the following to config.c in the list of main level commands
********************************************************************************
#ifdef PACKETWIN
"tsync_stat", do_tsync_stat, 0, 0, NULLCHAR,
"tsydump", do_tsync_dump, 0, 2, "tsydump <channel>",
#endif
********************************************************************************
2. Next add the following to config.c under the attach command list
********************************************************************************
#ifdef PACKETWIN
/* Gracilis PackeTwin */
"tsync", tsync_attach, 0, 11,
"attach tsync <chan> <vec> <iobase> <hdx|fdx> <dma|ints> <rxdmachan> <name> <rxsize> <txsize> <speed> [txclk] [rxclk] [nrz|nrzi] [ipaddr] [#rxbufs]",
#endif
********************************************************************************
3. Add the following function declarations to commands.h
********************************************************************************
/* In twin_dr.c/twin_at.c - Gracilis PackeTwin */
int tsync_attach __ARGS((int argc,char *argv[],void *p));
int do_tsync_stat __ARGS((int argc,char *argv[],void *p));
int do_tsync_dump __ARGS((int argc,char *argv[],void *p));
********************************************************************************
4. Add the following definition to the interfaces section of config.h
********************************************************************************
#define PACKETWIN 1 /* Gracilis PackeTwin driver */
********************************************************************************
5. Copy the following files to the build directory
********************************************************************************
# These are the PackeTwin driver itself
twin_dr.c twin_at.c twinvec.asm twin.h
# These are some definitions and support routines common to all
# Gracilis drivers.
gracilis.h gracilis.c
********************************************************************************
6. Create and add dependencies for the new driver sources to the makefile.
Currently, the dependencies are as follows:
********************************************************************************
# GRACILIS PackeTwin driver
gracilis.obj: gracilis.c global.h mbuf.h iface.h gracilis.h config.h lapb.h ax25.h proc.h
twin_dr.obj: twin_dr.c global.h config.h hardware.h mbuf.h iface.h ax25.h trace.h proc.h pktdrvr.h z8530.h gracilis.h twin.h
twin_at.obj: twin_at.c global.h config.h hardware.h mbuf.h iface.h ax25.h trace.h netuser.h proc.h pktdrvr.h devparams.h z8530.h gracilis.h twin.h
twinvec.obj: twinvec.asm
********************************************************************************
7. Add the following to the 'PC' section of the makefile
********************************************************************************
gracilis.obj twin_at.obj twin_dr.obj twinvec.obj
********************************************************************************
8. Also add them to the pc.tl file... thus:
********************************************************************************
+gracilis.obj &
+twin_dr.obj &
+twin_at.obj &
+twinvec.obj
********************************************************************************
9. Type "make" and wait till it's done...
********************************************************************************